package com.me.constant;

import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
import com.me.memorytest.MainMemoryTest;


public class Constant {
	
	//Level đã mở khóa.
	public static int LEVEL = 1;
	public static int MAX_LEVEL = 7;
	public static float STAGE_WIDTH = 1280;
	public static float STAGE_HEIGHT = 720;
	public static  final float ASPECT_RATIO = (float)STAGE_WIDTH / (float)STAGE_HEIGHT;
	
	public static int iCountClicked = 0;
	public static boolean isSharedScore= false;
	public static float fTimeDelta = 0;
	public static int numCouplePics = 0; // Số lượng cặp hình
	public static int wh_Image = 0;
	public static int row = 0;
	public static int col = 0;
	public static int iX = 0;
	public static int iY = 0;
	public static boolean b_custom = false;
	public static boolean b_HighScoreHome = false;
	
	public static int iAnimalCategory = 1;
	public static int iFruitCategory = 2;
	public static int iSeaCategory = 3;
	public static int iFlagCategory = 4;
	public static Skin skin = MainMemoryTest.getMySkin();
	public static TextureAtlas atlas = MainMemoryTest.getAtlas();
	
	public static Sound clickSound;
	public static Music matchMusic;
	
	public static void getPicAndWidthLevel(){
		switch(LEVEL){
		case 1:
			numCouplePics = 4;
			wh_Image = 250;
			row = 2;
			col = 4;
			break;
		case 2:
			numCouplePics = 6;
			wh_Image = 200;
			row = 2;
			col = 6;
			break;
		case 3:
			numCouplePics = 9;
			wh_Image = 150;
			row = 3;
			col = 6;
			break;
		case 4:
			numCouplePics = 12;
			wh_Image = 130;
			row = 4;
			col = 6;
			break;
		case 5:
			numCouplePics = 14;
			wh_Image = 130;
			row = 4;
			col = 7;
			break;
		case 6:
			numCouplePics = 16;
			wh_Image = 130;
			row = 4;
			col = 8;
			break;
		case 7:
			numCouplePics = 18;
			wh_Image = 130;
			row = 4;
			col = 9;
			break;
		}
	}
}